<ul id="menu1" class="dropdown-menu list-unstyled msg_list" role="menu">
                      <a>
                        <span class="badge bg-green">
                     <div class="table-responsive">
                      <table class="table table-striped jambo_table bulk_action table-bordered">
                        <thead>
                          
                            <th class="column-title">Notification</th>
                            
                            
                          </tr>
                        </thead>

                        <tbody>
                         
                          <?php
						      
							  require("connect.php");	
                              $resultat="select *from contrat_assurance where datediff(date_echeance,date_effet)<=30";
							  $stat = $db->query($resultat);
							  $tab = $stat->fetchAll();
						      foreach($tab as $ligne){
							
							 echo "</tr>\n"; 
							 echo "<td><a href='form_joint.php?m=" .$ligne['num_client'] ."'>".$ligne["num_client"] ."</a></td>\n";
						    
						
							  }
                       
                        
                       ?>
                        </tbody>
                      </table>
                    </div>
                        </span>
                      </a>
                  </ul>